package com.lvsc.sdaplacefinder.models.DirectionApi;

public class Step {
	private Tuple distance;
	private Tuple duration;
	private LatLng end_location;
	private LatLng start_location;
	private Polyline polyline;
	private String travel_mode;
	private String html_instructions;

	public Tuple getDistance() {
		return distance;
	}

	public void setDistance(Tuple distance) {
		this.distance = distance;
	}

	public Tuple getDuration() {
		return duration;
	}

	public void setDuration(Tuple duration) {
		this.duration = duration;
	}

	public LatLng getEnd_location() {
		return end_location;
	}

	public void setEnd_location(LatLng end_location) {
		this.end_location = end_location;
	}

	public LatLng getStart_location() {
		return start_location;
	}

	public void setStart_location(LatLng start_location) {
		this.start_location = start_location;
	}

	public Polyline getPolyline() {
		return polyline;
	}

	public void setPolyline(Polyline polyline) {
		this.polyline = polyline;
	}

	public String getTravel_mode() {
		return travel_mode;
	}

	public void setTravel_mode(String travel_mode) {
		this.travel_mode = travel_mode;
	}

	public String getHtml_instructions() {
		return html_instructions;
	}

	public void setHtml_instructions(String html_instructions) {
		this.html_instructions = html_instructions;
	}

	public com.google.android.gms.maps.model.LatLng getStartLatLng() {
		return new com.google.android.gms.maps.model.LatLng(
				Double.parseDouble(start_location.getLat()),
				Double.parseDouble(start_location.getLng()));
	}

	public com.google.android.gms.maps.model.LatLng getEndLatLng() {
		return new com.google.android.gms.maps.model.LatLng(
				Double.parseDouble(end_location.getLat()),
				Double.parseDouble(end_location.getLng()));
	}
}
